import { User } from '../entities/user.entity';
import { UserAttributes } from 'src/dao/User';
export type UserAddDto = Partial<User>;

export type UserLoginDto = Pick<User, 'userName' | 'password'>;

export type LoginByDeviceIdDto = Pick<User, 'deviceId'>;
export type UpdateField = 'userAgent' | 'userName';
export class UpdateInfoDTO implements Pick<UserAttributes, UpdateField> {}
